import Vue from 'vue'
import Router from 'vue-router'
import index from '@/components/index'
import StopPoint from '@/components/StopPoint'
import RoadHeat from '@/components/RoadHeat'
import AreaHeat from '@/components/AreaHeat'
import RoadCondition from '@/components/RoadCondition'
import SinglePath from '@/components/SinglePath'
import Large from '@/components/Large'
import Spot from '@/components/Spot'
Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/index',
      name: 'index',
      component: index
    },
    {
      path: '/compress',
      name: 'index',
      component: index
    },
    {
      path: '/Spot',
      name: 'Spot',
      component: Spot
    },
    {
      path: '/StopPoint',
      name: 'StopPoint',
      component: StopPoint
    },
    {
      path: '/Large',
      name: 'Large',
      component: Large
    },
    {
      path: '/SinglePath',
      name: 'SinglePath',
      component: SinglePath
    },
    {
      path: '/RoadCondition',
      name: 'RoadCondition',
      component: RoadCondition
    },
    {
      path: '/AreaHeat',
      name: 'AreaHeat',
      component: AreaHeat
    },
    {
      path: '/RoadHeat',
      name: 'RoadHeat',
      component: RoadHeat
    }
  ]
})
